package com.example.administrator.onepagelibrary.onebase;



import com.example.administrator.commonlibrary.bese.BaseContract;
import com.example.administrator.commonlibrary.bese.BaseViewActivity;
import com.example.administrator.onepagelibrary.dagger.NewActivityInject;
import com.example.administrator.onepagelibrary.dagger.NewFragmentInject;

/**
 * 作者：wang_hong_wei
 * 创建时间：2018/9/13
 * 描述：本模块Activity的基类
 */
public abstract class OneBaseViewActivity<T extends BaseContract.BasePresenter>  extends BaseViewActivity<T> {

    protected <E>void daggerInject(E module){
        NewActivityInject.getInject().inject(module,this);
    }
}
